package com.hoshiibuy.sku.entity.vo;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import org.apache.commons.lang3.StringUtils;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
* <p>
* 供应商商品SKU
* </p>
*
* @author zhangshuhu
* @since 2019-05-05
*/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("vendor_goods_sku")
@ApiModel(value="VendorGoodsSkuVO对象", description="供应商商品SKU")
public class VendorGoodsSkuVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "公司ID")
    @TableField("companyid")
    private Long companyid;

    @ApiModelProperty(value = "平台ID")
    @TableField("platformid")
    private Long platformid;

    @ApiModelProperty(value = "门店ID")
    @TableField("storeid")
    private Long storeid;

    @ApiModelProperty(value = "供应商ID")
    @TableField("vendorid")
    private Long vendorid;

    @ApiModelProperty(value = "spuid")
    @TableField("spuid")
    private Long spuid;

    @ApiModelProperty(value = "skuid")
    @TableField("skuid")
    private Long skuid;

    @ApiModelProperty(value = "条形码")
    @TableField("barcode")
    private String barcode;

    @ApiModelProperty(value = "箱码")
    @TableField("packetcode")
    private String packetcode;

    @ApiModelProperty(value = "包装单位")
    @TableField("packetunit")
    private String packetunit;

    @ApiModelProperty(value = "内件数")
    @TableField("inner_boxs")
    private Integer innerBoxs;

    @ApiModelProperty(value = "结算价")
    @TableField("unitprice")
    private BigDecimal unitprice;

    @ApiModelProperty(value = "首次报价")
    @TableField("first_offer")
    private Integer firstOffer;

    @ApiModelProperty(value = "商品类型  1-国内  2-跨境 直邮  2-跨境 保税 3- 跨境 一般贸易")
    @TableField("vendor_po_type")
    private Integer vendorPoType;

    @ApiModelProperty(value = "创建时间")
    @TableField("createdtime")
    private LocalDateTime createdtime;

    @ApiModelProperty(value = "修改时间")
    @TableField("updatedtime")
    private LocalDateTime updatedtime;

    @ApiModelProperty(value = "建立人")
    @TableField("createdby")
    private String createdby;

    @ApiModelProperty(value = "修改人")
    @TableField("updatedby")
    private String updatedby;

    @ApiModelProperty(value = "状态  0-待审核 1-审批通过 2-未通过")
    @TableField("status")
    private Integer status;

    @ApiModelProperty(value = "是否删除")
    @TableField("deleted")
    private Integer deleted;
}
